﻿using System;

namespace Draco.OWF.RT.Impl
{
    public class JobPath : IJobPath
    {
        protected String id;
        public String FromTaskId { get; set; }
        public String ToTaskId { get; set; }
        public string Id
        {
            get
            {
                if (String.IsNullOrWhiteSpace(this.id)) {
                    this.id = Guid.NewGuid().ToString();
                }
                return id;
            }
            set { this.id = value; }
        }
        
    }
}
